﻿using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Prism.Mvvm;
using WpfAppTest.Dao.DB;
using Daitto.Entity;
using System.Collections.ObjectModel;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace WpfAppTest.Dao
{
    public class HistoryDao
    {
        private CS9DBContext _conText;
        private CS9DBContext2 _conText2;
        public HistoryDao()
        {
            string connectionStringA = "server=192.168.0.100;Database=surface;Uid=root;Pwd=123456;";
            string connectionStringB = "server=192.168.0.101;Database=surface;Uid=root;Pwd=123456;";
            // 100
            _conText = new CS9DBContext(connectionStringA);
            _conText2 = new CS9DBContext2(connectionStringB);
        }
        //用卷号查询缺陷
    }
}
